//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package org.pentaho.di.ui.trans.steps.shentong.oss.client;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(
    name = "Error"
)
public class OssError extends AbstractXMLData {
    protected String message;
    private String requestId;
    private String hostId;
    private String code;

    public OssError() {
    }

    public String getMessage() {
        return this.message;
    }

    @XmlElement(
        name = "Message"
    )
    public void setMessage(String message) {
        this.message = message;
    }

    public String getRequestId() {
        return this.requestId;
    }

    @XmlElement(
        name = "RequestId"
    )
    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public String getHostId() {
        return this.hostId;
    }

    @XmlElement(
        name = "HostId"
    )
    public void setHostId(String hostId) {
        this.hostId = hostId;
    }

    public String getCode() {
        return this.code;
    }

    @XmlElement(
        name = "Code"
    )
    public void setCode(String code) {
        this.code = code;
    }

    public String toString() {
        return "{code: " + this.code + ", requestId: '" + this.requestId + '\'' + ", hostId: '" + this.hostId + '\'' + ", code: '" + this.code + '\'' + ", message: '" + this.message + '\'' + '}';
    }
}
